//SR5_12.java 
//编写小程序利用if-else，嵌套语句，块语句。
import java.util.Scanner;
public class SR5_12
{
  public static void main(String []args)
  {
   int temperature;

   Scanner scan = new Scanner(System.in);
   
   System.out.println("Please input today's temperature:");
   temperature = scan.nextInt();

   if (temperature < 50)
   {
     System.out.println("It's cool");
     System.out.println("Dress warmly");
   }
   else
     if (temperature  < 80)
     {
       System.out.println("It's pleasent");
       System.out.println("Dress pleasently");
     }
     else
     {
       System.out.println("It's warm");
       System.out.println("Dress coolly");
     } 
   }
}   


